var href = location.href
var ifsuc = href.substr(href.lastIndexOf('?') + 1)
console.log(ifsuc)
if(ifsuc === 'uploadsuc=false') {
    alert('您还没有登录，不能上传图片')
}